package com.ganeshkrishnan.globald.dao;

import java.util.List;

import com.ganeshkrishnan.globald.abstracts.GenericDao;
import com.ganeshkrishnan.globald.model.PersonLocation;

public interface PersonLocationDao extends GenericDao<PersonLocation, Long> {
	public PersonLocation findHomeCityByPersonID(Long PersonID);

	public List<PersonLocation> findSatellitesByPersonID(Long PersonID);

	public List<PersonLocation> findbyCords(float lat, float lon);

	public List<PersonLocation> findNear(float lat, float lon, float precision);

	public List<PersonLocation> findMyHomesNear(Long personID, float lat, float lon, float precision);

	public List<PersonLocation> findMySatellitesbyBounds(Long personID, float nlat, float nlon, float slat, float slon);

	public List<PersonLocation> findCombatantsbyBounds(Long personID, float nlat, float nlon, float slat, float slon);

	public List<Object[]> findCombatantsbyCountryBounds(Long personID, float nlat, float nlon, float slat, float slon, int country);

	public List<Object[]> findTotalDeployed(Long personID);
}
